// AI问答

export interface Message {
    content: string;
    role: string;
}

interface Choice {
    finish_reason: string;
    message: Message;
}

interface Output {
    choices: Choice[];
    finish_reason: string | null;
    text: string | null;
}

export interface APIResponse {
    code: string;
    message: string;
    output: Output;
    request_id: string;
    status_code: number;
    usage: {
        input_tokens: number;
        output_tokens: number;
        total_tokens: number;
    };
}
